import { dayjs } from "element-plus";
// unify the time format
export const formatTime = (time) => dayjs(time).format('YYYY-MM-DD HH:mm:ss')